package com.zmc.admin.infrastructure.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zmc.admin.infrastructure.entity.SysRoleMenuEntity;
import com.zmc.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 角色和菜单关联表
 *
 * @author zmc
 * @email 
 * @date 2024-10-09 17:27:49
 */
public interface SysRoleMenuService extends IService<SysRoleMenuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    int checkMenuExistRole(Long menuId);

    void insertBatch(List<SysRoleMenuEntity> list);

    void deleteByRoleId(Long roleId);

    void deleteByRoleIds(List<Long> roleIds);

}

